package com.ssy.lingxi.purchase.api.fallback;

import com.ssy.lingxi.common.response.ResponseCode;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.purchase.api.dto.request.ExamineQuotedPriceBatchRequest;
import com.ssy.lingxi.purchase.api.feign.PurchaseInquiryFeign;
import org.springframework.stereotype.Component;

import javax.validation.Valid;

@Component
public class PurchaseInquiryFallback implements PurchaseInquiryFeign {


    /**
     * 批量执行报价截止时间到期的需求单外部流程-内部接口
     */
    @Override
    public Wrapper examineQuotedPriceBatch(@Valid ExamineQuotedPriceBatchRequest request) {
        return Wrapper.fail(ResponseCode.SERVICE_PURCHASE_ERROR);
    }
}
